﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace Woodlands
{
    class Notification
    {
        public static void sms(string number, string message)
        {
            WebBrowser hiddenWeb = new WebBrowser();
            hiddenWeb.Navigate("http://www.woodlandsuniversity.com/text/text.php?n="+number+"&t="+message);
        }

        public static void email(string address, string message)
        {
            WebBrowser hiddenWeb = new WebBrowser();
            hiddenWeb.Navigate("http://www.woodlandsuniversity.com/email/email.php?a=" + address + "&m=" + message);
        }

        public static void twitter(string username, string message)
        {
            WebBrowser hiddenWeb = new WebBrowser();
            hiddenWeb.Navigate("http://www.woodlandsuniversity.com/twitter/email.php?u=" + username + "&m=" + message);
        }

        public static void facebook(string userID, string message)
        {
            WebBrowser hiddenWeb = new WebBrowser();
            hiddenWeb.Navigate("http://www.woodlandsuniversity.com/twitter/email.php?u=" + userID + "&m=" + message);
        }
    }
}
